xend: serialise domain restart threads
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 15 Apr 2009 10:25:07 +0000 (11:25 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 15 Apr 2009 10:25:07 +0000 (11:25 +0100)
commit19c624b57a2a6c1af0e466d6888317138052105f
tree5aa4ab59cdecd33eba1f165d7dd3029f9f927370
parentb158b87dbedc458adade946653aebcda9e99a5af
xend: serialise domain restart threads

I observed from xend.log that several domain restart threads run
simultaneously. This patch make it singleton.
Without this, several coredump of a domain might be created.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/python/xen/xend/XendDomainInfo.py